<!DOCTYPE html>
<html>
	<head>
		<!--引入头部-->
			<meta charset="UTF-8">
		<title></title>
		<link rel="shortcut icon" href="./Public/Home/images/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/list.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/product.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/shoppingcart.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/my-center.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/dingdan.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/addressList.css"/>
		
		
		
		<script src="./Public/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/details.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/area.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/list.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/cart.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/address.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		
		<!--顶部部分开始包括最顶部和搜索-->
		<div id="header">
			<div class="header1">
				<div class="header1in">
					<ul class="headerul1">
						<li class=""><a href="">400-187-6777</a></li>
						<li class=""><a href="">在线客服</a></li>
						<li class=""><a href="">关注我们</a></li>
						<li class=""><a href="">新浪微博</a></li>
						<li class=""><a href="">手机客户端</a></li>
					</ul>
					<ul class="headerul2">
						<li class=""><a href="">签到</a></li>
						<!--开始没有加isset 退出的时候会 显示未定义$_SESSION['userid']。。。所以要加isset存在的时候返回真，不存在返回假-->
						                
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">admin</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=login&a=out">退出</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">我的云购全球</a></li>
												<li class=""><a href="">充值</a></li>
						<li class=""><a href="">帮助</a></li>
					</ul>
				</div>
			</div>
			<div class="header2">
				<a class="header_logo" href="">
					<img src="./Public/Home/images/logo.png" alt="" />
				</a>
				<div class="search_header2">
					<span></span>
					<input placeholder="搜索您需要的商品" value="" id="q" type="text">
					<a href="" class="btnHSearch">搜索</a>
				</div>
			</div>
		</div>
		<!--导航 start-->
		<div id="navAll">
			<div class="nav">
				<div class="pullDown">
					<h4 class="pullDownTitle"><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=0">所有商品分类</a></h4>
					<ul class="pullDownList">
																		<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_111.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=9">
								奢侈品区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=10">
								汽车专区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=11">
								手机数码							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=12">
								家用电器							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=13">
								金银珠宝							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=14">
								云购超市							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=15">
								服饰百货							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=16">
								其他商品							</a>
							<span>></span>
						</li>
												<!--<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>-->
					</ul>
				</div>
				<ul class="menu">
					<li><a class="menu_first_li" href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=index&a=index">首页</a><em>/</em></li>
					<li><a href="">十元</a><em>/</em></li>
					<li><a href="">百元</a><em>/</em></li>
					<li><a href="">限购</a><em>/</em></li>
					<li><a href="">揭晓</a><em>/</em></li>
					<li><a href="">晒单</a><em>/</em></li>
					<li><a href="">新手</a><em>/</em></li>
					<li><a href="">视频</a><em>/</em></li>
					<li><a href="">理财</a><em>/</em></li>
				</ul>
			</div>
		</div>
		<!--导航 end-->
		
		<!--右侧边栏开始-->
		<div id="r-fixed" style="width:42px;position: fixed;background: #004B54;bottom: 50px;right: 10px;z-index: 1000;">
			<ul class="r-fixed-nav">
				<li class="fixed-cart">
					<?php if(isset($_SESSION['userid'])){?>
                
						<a href="<?php echo U('cart/index')?>"></a>
					<?php }else{?>
						<a href="<?php echo U('Login/index')?>"></a>
					
               <?php }?>
					
					<?php if(isset($cartNum)){?>
                
						<em class="cart_goods_all"><?php echo $cartNum?></em>
					<?php }else{?>
						<em class="cart_goods_all">0</em>
					
               <?php }?>
					<div style="background: #DD2726;width: 0;height: 40px;position: absolute;top:0;left: -120px;overflow: hidden;color: white;font-size: 14px;text-align: center;line-height: 40px;" class="success">成功添加到购物车</div>
				</li>
				<li style="width: 40px;height: 40px;display: block;margin-top: 3px;" class="fixed-qq"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-wx"></li>
				<li style="width: 40px;height: 40px;margin-top: 3px;" class="fixed-top"></li>
			</ul>
		</div>
		<!--右侧边栏结束-->
		
		<!--商品列表页部分开始-->
			<!--guide指南，向导  goods商品  product产品-->
		<div id="w_con">
			<h4 class="w_guide">
				<a class="w_guide_index" href="">首页</a>
				<a class="w_guide_allgoods" href="">全部商品</a>
				<?php foreach ($cateTopData as $v){?>
				<a class="w_accord" href="javascript:void(0);"><?php echo $v['cname']?></a>
				<?php }?>
			</h4>
			<div class="w_goods_nav">
				<h2>全部商品
					<span>（共<a href="javascript:void(0)"><?php echo $count?></a>件商品）
					</span>
				</h2>
				<div class="w_choose">
					<dl class="w_choose_list">
						<?php foreach ($cateData as $v){?>
						<dd>
							<a class="w_selected" href="<?php echo U('index',array('cid'=>$v['cid']))?>">
								<span class="w_icon <?php echo $v['list_class']?>"></span>
								<b><?php echo $v['cname']?></b>
							</a>
						</dd>
						<?php }?>
						<!--<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd>
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>
						<dd style="border: none;">
							<a class="w_selected" href="">
								<span class="w_icon w_icon_one"></span>
								<b>奢侈品区</b>
							</a>
						</dd>-->
					</dl>
					
					<!--这里如果cid=0 默认给的$cateSonData 为空 ，空是假的。所以假的的这里不显示-->
					<?php if($cateSonData){?>
                
					<div class="w_all_class">
						<dl>
							<dd class="c_newgoods_brand_name">分类</dd>
							<dd class="w_specific_class1">
								<ul>
									<li class="w_specific_class1_all"><a href="">全部</a></li>
									<?php foreach ($cateSonData as $v){?>
									<li><a href=""><?php echo $v['cname']?></a></li>
									<?php }?>
									<!--<li><a href="">奢品首饰</a></li>
									<li><a href="">奢品首饰</a></li>
									<li><a href="">奢品首饰</a></li>-->
								</ul>
							</dd>
						</dl>
					</div>
					
               <?php }?>
					<!--异步部分-->
					<script type="text/javascript">
						$(function(){
							
						})
					</script>
				</div>
			</div>
			<div class="w_product_con">
				<dl class="w_new">
					<dd style="width: 36px;height: 30px;border: none;">排列：</dd>
					<dd>
						<a href="javascript:void(0)" class="w_announced" data-id="publicTime">即将揭晓</a>
					</dd>
					<dd>
						<a href="javascript:void(0)" data-id="takedout">剩余人次</a>
					</dd>
					<dd>
						<a href="javascript:void(0)" data-id="periods">热卖</a>
					</dd>
					<dd>
						<a href="javascript:void(0)" data-id="addTime">最新商品</a>
					</dd>
					<dd>
						<a class="w_last" href="javascript:void(0)" data-id="totalPrice_up">价格
							<span>
								<img src="./Public/Home/images/list/jia_03.png">
							</span>
							<span class="w_jian_tou">
								<img src="./Public/Home/images/list/jia_06.png">
							</span>
						</a>
					</dd>
				</dl>
				<a class="c_join_all" style="" href="javascript:addAllGoodsToCart()">全部参与</a>
			</div>
				<!--商品列表-->
			
			<div class="w_goods_con">
				<ul class="w_goods_one">
					
					<?php foreach ($goodsData as $v){?>

						<li class="w_goods_details ">
							<div class="g_img">
								<a href="<?php echo U('Details/index',array('gid'=>$v['gid']))?>" target="_blank">
									<!--这里不能给图片设置id，因为id是唯一的，class可以多个-->
									<img class="goods_list_img" src="<?php echo $v['pic']?>"/>
								</a>
							</div>
							<a class="g_name" href="<?php echo U('Details/index',array('gid'=>$v['gid']))?>" target="_blank">(第<?php echo $v['newNum']?>期)<?php echo $v['gname']?></a>
							<b>价值：￥<?php echo $v['price']?></b>
							<div class="g_line">
								<span class="zc_line"></span>
							</div>
							<ul class="g_number">
								<li class="li_top li_have">10</li>
								<li class="li_top li_all"><?php echo $v['price']?></li>
								<li class="li_top">25</li>
								<li class="li_bottom">已夺宝人次</li>
								<li class="li_bottom">总需人次</li>
								<li class="li_bottom">剩余人次</li>
							</ul>
							<div class="c_rob_box">
								<div class="c_cumulative_box">
									<strong>我要参与：</strong>
									<input id="buyTimes_0" maxlength="6" onafterpaste="checkTimes(0)" onkeyup="checkTimes(0)" onmouseover="this.focus();this.select();" class="c_detailsinputs" value="1" type="text">
									<span onclick="minusTimes(0)" class="c_addnew_subtracts">-</span>
									<span onclick="addTimes(0)" class="c_addnew_pluss">+</span>
								</div>
								<dl class="w_rob">
									<dd>
										<a class="w_slip" href="javascript:void(0);">立即夺宝</a>
									</dd>
									<dd class="w_rob_out">
										<a class="w_rob_in" href="javascript:;">加入购物车</a>
									</dd>
								</dl>
							</div>
							<input type="hidden" class="gid" value="<?php echo $v['gid']?>"/>
							<input type="hidden" class="price" value="<?php echo $v['price']?>" />
						</li>
						<?php }?>
						
					<!--<li class="w_goods_details ">
							<div class="g_img">
								<a href="">
									<img src="./Public/Home/images/77_1456477686622.jpg_200x200.png.jpg"/>
								</a>
							</div>
							<a class="g_name" href="">(第913期) BURBERRY/巴宝莉 LONDON 皮革钥匙包【包邮】</a>
							<b>价值：￥3900</b>
							<div class="g_line">
								<span style="width:91.35897435897436%"></span>
							</div>
							<ul class="g_number">
								<li class="li_top">3875</li>
								<li class="li_top">3900</li>
								<li class="li_top">25</li>
								<li class="li_bottom">已夺宝人次</li>
								<li class="li_bottom">总需人次</li>
								<li class="li_bottom">剩余人次</li>
							</ul>
							<div class="c_rob_box">
								<div class="c_cumulative_box">
									<strong>我要参与：</strong>
									<input id="buyTimes_0" maxlength="6" onafterpaste="checkTimes(0)" onkeyup="checkTimes(0)" onmouseover="this.focus();this.select();" class="c_detailsinputs" value="10" type="text">
									<span onclick="minusTimes(0)" class="c_addnew_subtracts">-</span>
									<span onclick="addTimes(0)" class="c_addnew_pluss">+</span>
								</div>
								<dl class="w_rob">
									<dd>
										<a class="w_slip" href="javascript:void(0);" onclick="gotoCart(0);gotoCartOrder()">立即夺宝</a>
									</dd>
									<dd class="w_rob_out">
										<a class="w_rob_in" href="javascript:void(0);" onclick="cartoon(0)">加入购物车</a>
									</dd>
								</dl>
							</div>
						</li>
					<li class="w_goods_details ">
							<div class="g_img">
								<a href="">
									<img src="./Public/Home/images/77_1456477686622.jpg_200x200.png.jpg"/>
								</a>
							</div>
							<a class="g_name" href="">(第913期) BURBERRY/巴宝莉 LONDON 皮革钥匙包【包邮】</a>
							<b>价值：￥3900</b>
							<div class="g_line">
								<span style="width:91.35897435897436%"></span>
							</div>
							<ul class="g_number">
								<li class="li_top">3875</li>
								<li class="li_top">3900</li>
								<li class="li_top">25</li>
								<li class="li_bottom">已夺宝人次</li>
								<li class="li_bottom">总需人次</li>
								<li class="li_bottom">剩余人次</li>
							</ul>
							<div class="c_rob_box">
								<div class="c_cumulative_box">
									<strong>我要参与：</strong>
									<input id="buyTimes_0" maxlength="6" onafterpaste="checkTimes(0)" onkeyup="checkTimes(0)" onmouseover="this.focus();this.select();" class="c_detailsinputs" value="10" type="text">
									<span onclick="minusTimes(0)" class="c_addnew_subtracts">-</span>
									<span onclick="addTimes(0)" class="c_addnew_pluss">+</span>
								</div>
								<dl class="w_rob">
									<dd>
										<a class="w_slip" href="javascript:void(0);" onclick="gotoCart(0);gotoCartOrder()">立即夺宝</a>
									</dd>
									<dd class="w_rob_out">
										<a class="w_rob_in" href="javascript:void(0);" onclick="cartoon(0)">加入购物车</a>
									</dd>
								</dl>
							</div>
						</li>
					<li class="w_goods_details ">
							<div class="g_img">
								<a href="">
									<img src="./Public/Home/images/77_1456477686622.jpg_200x200.png.jpg"/>
								</a>
							</div>
							<a class="g_name" href="">(第913期) BURBERRY/巴宝莉 LONDON 皮革钥匙包【包邮】</a>
							<b>价值：￥3900</b>
							<div class="g_line">
								<span style="width:91.35897435897436%"></span>
							</div>
							<ul class="g_number">
								<li class="li_top">3875</li>
								<li class="li_top">3900</li>
								<li class="li_top">25</li>
								<li class="li_bottom">已夺宝人次</li>
								<li class="li_bottom">总需人次</li>
								<li class="li_bottom">剩余人次</li>
							</ul>
							<div class="c_rob_box">
								<div class="c_cumulative_box">
									<strong>我要参与：</strong>
									<input id="buyTimes_0" maxlength="6" onafterpaste="checkTimes(0)" onkeyup="checkTimes(0)" onmouseover="this.focus();this.select();" class="c_detailsinputs" value="10" type="text">
									<span onclick="minusTimes(0)" class="c_addnew_subtracts">-</span>
									<span onclick="addTimes(0)" class="c_addnew_pluss">+</span>
								</div>
								<dl class="w_rob">
									<dd>
										<a class="w_slip" href="javascript:void(0);" onclick="gotoCart(0);gotoCartOrder()">立即夺宝</a>
									</dd>
									<dd class="w_rob_out">
										<a class="w_rob_in" href="javascript:void(0);" onclick="cartoon(0)">加入购物车</a>
									</dd>
								</dl>
							</div>
						</li>-->
				</ul>
				
			</div>
		</div>
		<!--商品列表页部分结束-->
			
		<!--最底层部分开始-->
		<div id="foot">
			<ul class="footIn">
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
			</ul>
			<div class="footSupport">
				<div class="footSupport_in">
					<div class="footSupport_in_left">
						<dl>
							<dt>新手指南</dt>
							<dd><a href="">购物指南</a></dd>
							<dd><a href="">常见问题</a></dd>
							<dd><a href="">服务协议</a></dd>
						</dl>
						<dl>
							<dt>服务支持</dt>
							<dd><a href="">保障体系</a></dd>
							<dd><a href="">风险提示</a></dd>
							<dd><a href="">安全支付</a></dd>
						</dl>
						<dl>
							<dt>商品配送</dt>
							<dd><a href="">配送费用</a></dd>
							<dd><a href="">验货签收</a></dd>
							<dd><a href="">会员福利</a></dd>
						</dl>
						<dl>
							<dt>关于我们</dt>
							<dd><a href="">了解我们</a></dd>
							<dd><a href="">联系我们</a></dd>
							<dd><a href="">诚聘英才</a></dd>
						</dl>
						
					</div>
					<dl class="foot_time">
						<dd title="服务热线" style="background:url(./Public/Home/images/phone.png) no-repeat 0px 5px;margin-top: 29px;">400-187-6777</dd>
						<dd title="服务器时间" style="background:url(./Public/Home/images/time.png) no-repeat 0px 6px;background-size:21px;margin-top: 15px;" class="sysTime">08:59:09</dd>
					</dl>
					
					
					
					
					<dl class="foot_last">
						<a href="javascript:void(0);">
							<dd class="dlLast-WeChat">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球官方微信</b>
									<img src="/clienty.png" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Sina">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球新浪微博</b>
									<img src="/cloud_xx.jpg" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-apple">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/android_app.png" alt="">-->
								</div> 
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Android">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/cloud_kik.png" alt="">-->
								</div>
							</dd>
						</a>
					</dl>
				</div>
				<div class="footer-time-list">
					<div class="yFootBottomLeft">	  
				  山西云购电子商务有限公司版权所有  © 2016  ICP证晋ICP备15005633号-1
					</div>
					<div class="yFootBottomRight">
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
					</div>
				</div>
			</div>
			<div class="footBottom">
				<div class="footBottomInFriend" style="clear: both;">
					<p>友情链接：
						<a href="">晋商贷</a> |
						<a href="">大德通科技</a> |
						<a href="">大德通集团</a> |
						<a href="">车来车网</a> |
						<a href="">人人天使</a> |
						<a href="">金融谷</a> |
						<a href="">晋商贷学院</a>
					</p>
				</div>
			</div>
		</div>
		<!--最底层部分结束-->
	</body>
</html>

		